$(document).ready(function() {
	set_footer_position();
	img_button_bind("#login_button", "imgs/common/login_button_normal.jpg", "imgs/common/login_button_hover.jpg", "imgs/common/login_button_active.jpg");
	img_button_bind("#register_button", "imgs/common/register_button_normal.jpg", "imgs/common/register_button_hover.jpg", "imgs/common/register_button_active.jpg");
	
	forget_password();

	$("#login_button").click(judge_login);
	$("#register_button").click(redirect_to_register);
});